﻿using Domain.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class TaskDetailsOutput:ICloneable
    {
        public int ID { get; set; }
        /// <summary>
        /// 用户是否身份认证
        /// </summary>
        public bool UserSMRZ { get; set; }
        /// <summary>
        /// 用户是否超级商人
        /// </summary>
        public bool UserIsCJSR { get; set; }
        /// <summary>
        /// 用户是否交保证金
        /// </summary>
        public bool UserIsBJ { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Tags { get; set; }
        /// <summary>
        /// 可用次数
        /// </summary>
        public int RemainCount { get; set; }
        /// <summary>
        /// 完成次数
        /// </summary>
        public int BeFinishCount { get; set; }
        /// <summary>
        /// 佣金
        /// </summary>
        public int Price { get; set; }
        /// <summary>
        /// 是否有任务链接
        /// </summary>
        public bool NeedTaskLink { get; set; }
        /// <summary>
        /// 任务链接
        /// </summary>
        public string TaskLink { get; set; }
        /// <summary>
        /// 任务步骤数据
        /// </summary>
        public List<TaskStepFieldInfo> StepFieldData { get; set; }
        /// <summary>
        /// 是否有任务数据
        /// </summary>
        public bool NeedSubField { get; set; }
        public bool NeedTaskStepData { get; set; } = true;
        /// <summary>
        /// 任务数据名
        /// </summary>
        public string SubFieldName { get; set; }
        /// <summary>
        /// 将获得佣金
        /// </summary>
        public int Commission { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserPic { get; set; }
        public string UserPhone { get; set; }
        public int? TaskAuditID { get; set; }
        public string UserIM { get; set; }
        public string UserNickName { get; set; }

        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
